from django.urls import path, include
from rest_framework.routers import DefaultRouter

from apps.steps.views import PreStepViewSet

router = DefaultRouter()
router.register('', PreStepViewSet, base_name='pre_step')
app_name = 'pre_step'


urlpatterns = [
    # api视图路由
    path('', include(router.urls), name='api')
    ]
